package cn.com.huak.www.sell.repository;

import cn.com.huak.www.sell.dataObject.OrderDetail;
import org.springframework.data.domain.Page;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author huak@wanggang
 * @date 2018/12/30 20:36
 */
public interface OrderDetailRepository extends JpaRepository<OrderDetail, String> {

    /* 通过订单id查询详情 */
    List<OrderDetail> findByOrderId(String orderId);
}
